#include "mystdio.h"
#include <string.h>
int main()
{
    MyFile* filep = MyFopen("./log.txt","a");
    if(!filep)
    {
        perror("MyFopen");
        exit(1);
    }
    const char * msg = "hello myfile\n";
    MyFwrite(filep,(void*)msg,strlen(msg));
    MyFclose(filep);
    return 0;
}